package com.wx.bootsecurity.service.impl;

import com.wx.bootsecurity.entity.WxPermission;
import com.wx.bootsecurity.mapper.WxPermissionMapper;
import com.wx.bootsecurity.service.WxPermissionService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 后台用户权限表 服务实现类
 * </p>
 *
 * @author 阿尔法哲
 * @since 2021-07-22
 */
@Service
public class WxPermissionServiceImpl extends ServiceImpl<WxPermissionMapper, WxPermission> implements WxPermissionService {

    @Autowired
    private WxPermissionMapper permissionMapper;

    @Override
    public List<WxPermission> findByIds(List<Long> ids) {
        List<WxPermission> permissionList = permissionMapper.selectBatchIds(ids);
        return permissionList;
    }
}
